var modalUtil = (function(){
	var original_height;
	var init = function(){
		event_init();
	};
	
	var event_init = function(){
		$("div.modal").on("show",function(){
			var html_height = $("header.push_gnb").height() + $("div.push_body_warp").height() + $("footer.push_footer").height()+200;
			var modal_height = $(this).height() + $(this).offset().top + 200;
			
			original_height = html_height;
			
			$("body").height(html_height > modal_height ? html_height : modal_height);
		});
		
		$("div.modal").on("hidden",function(){
			$("body").height(original_height);
		});
	};
	
	init();
	
	return {
		init : init
	};
}());